/*
    搜索模块的请求
*/
import request from "@/utils/request";

export const getSearchKeysSuggestions = q => {
    return request({
        method: 'GET',
        url: '/v1_0/suggestion',
        params: {
            q
        }
    })
}

export const getSearchResults = (params) => {
    return request({
        method: 'GET',
        url: '/v1_0/search',
        params
    })
}